import Vue from 'vue'
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from './App.vue'
//ES6语法导入
import VueRouter from 'vue-router'
//注册
Vue.use(VueRouter)
Vue.use(ElementUI);

import "../styles/index.scss";

import login from './views/login.vue'



const router = new VueRouter({
  routes: [
    { path: '/login', component: login }
  ]
})


new Vue({
  el: "#app",
  router,
  render: h => h(App)
});
